package com.carkeeper.system.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author 周志雄
 * @version 1.0
 * @date 2020/11/23 15:36
 */
@Table(name = "tb_menu")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Menu implements Serializable {
    @Id
    private Long id;
    //菜单名称
    private String name;
    //级别
    private String level;
    //父级id
    private Long parentMenuId;
    //路径
    private String path;
    //排序
    private String sort;

}
